<?php
function smarty_function_css($params)
{
    $root='http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']).'/Tpl/'.$params['file'];
    return '<link rel="stylesheet" href="'.$root.'">';
}

/* vim: set expandtab: */

?>
